package com.ontheroad.api.request;

import javax.validation.constraints.NotNull;

/**
 * Created by Administrator on 2017/10/23.
 */
public class TogetherRequest extends Request {

    private static final long serialVersionUID = -2423800004635389596L;

    public interface publish {
    }

    public interface detail {
    }


    /**
     * 用户ID
     */
    private Integer targetId;

    /**
     * 约伴ID
     */
    @NotNull(groups = detail.class)
    private Integer id;

    /**
     * 约伴名称
     */
    @NotNull(groups = publish.class)
    private String name;

    /**
     * 约伴内容描述
     */
    @NotNull(groups = publish.class)
    private String content;

    /**
     * 约伴图片
     */
    private String images;

    /**
     * 约伴地点
     */
    @NotNull(groups = publish.class)
    private String address;

    /**
     * 约伴开始时间
     */
    @NotNull(groups = publish.class)
    private Long startTime;

    private Long searchStartTime;

    private Long searchEndTime;
    /**
     * 约伴结束时间
     */
    @NotNull(groups = publish.class)
    private Long endTime;

    /**
     * 被回复人（如果为空那就是直接评论约伴活动，不为空那就是针对某人说的话进行评论）
     */
    private Integer replyedid;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getSearchStartTime() {
        return searchStartTime;
    }

    public void setSearchStartTime(Long searchStartTime) {
        this.searchStartTime = searchStartTime;
    }

    public Long getSearchEndTime() {
        return searchEndTime;
    }

    public void setSearchEndTime(Long searchEndTime) {
        this.searchEndTime = searchEndTime;
    }

    public Integer getReplyedid() {
        return replyedid;
    }

    public void setReplyedid(Integer replyedid) {
        this.replyedid = replyedid;
    }

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }
}
